package xyz.zdsoft.ask_for_leave_manage_module.service;

import xyz.zdsoft.ask_for_leave_manage_module.bo.TeacherSearchBo;
import xyz.zdsoft.ask_for_leave_manage_module.vo.StudentLeaveForTeacherVo;
import xyz.zdsoft.common.utils.Result;
import xyz.zdsoft.common.utils.ResultBody;

public interface TeacherLeaveService {

    Result<StudentLeaveForTeacherVo> queryStuLeaveForTea(TeacherSearchBo teacherSearchBo);

    ResultBody passLeave(Integer leaveId);

    ResultBody eliminateLeave(Integer leaveId, String reason);
}
